package com.teemo.equipment.domain.dto;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author Teemo
 */
@Data
public class RecommendAddDTO implements Serializable {
    @NotNull(message = "英雄id不能为空")
    private Long heroId;
    @NotNull(message = "装备列表不能为空")
    @NotEmpty(message = "装备列表不能为空")
    @Valid
    private List<EquipmentDTO> equipmentList;
}
